package model;

import Constant.RpcConstant;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class RpcRequest implements Serializable {
    private String serviceName;// 服务名称
    private String methodName;// 方法名称
    private Class<?>[] parameterType;// 参数类型列表
    private Object[] avgs;
    private String serviceVersion = RpcConstant.DEFAULT_SERVICE_VERSION;
}
